<%@ page import="com.bafa.objects.season.Season" %>
<%@ page import="com.bafa.objects.season.Division" %>
<%@ page import="com.bafa.objects.team.Team" %>
<%@ page import="com.bafa.objects.team.TeamSeasonStats" %>
<%@ page import="com.bafa.objects.team.TeamStats" %>
<%@ page import="com.bafa.objects.player.*" %>
<%@ page import="com.bafa.objects.*" %>
<%@ page import="com.bafa.middle.*" %>
<%@ page import="com.bafa.front.presentationbeans.*" %>
<%@ page import="com.bafa.front.utils.*" %>
<%@ page import="java.util.*" %>
<% Iterator reports = (Iterator)request.getAttribute("REPORT");   

%>
<% LeagueBean division = (LeagueBean)session.getAttribute("DIVISION");%>
<% MatchBean match = (MatchBean)request.getAttribute("MATCH");   %>
<% TeamBean team = (TeamBean)session.getAttribute("LOGGEDONTEAM"); 
%>
<% SeasonBean season = (SeasonBean)session.getAttribute("THISSEASON");   
if(season==null){season = (SeasonBean)request.getAttribute("CURRENTSEASON");}  %>


<script  src="script/niftycube.js" type="text/javascript" ></script>
	<script>
	NiftyLoad=function(){
	     

Nifty("ul#results h3","top");
Nifty("ul#results div","bottom same-height");
}
</script>


<style type="text/css">
	
ul#results, ul#results li{margin:0;padding:0;list-style:none}
	ul#results li{float:left;width:455px;margin:0 10px 10px 0}
	ul#results h3{font: bold  Verdana,sans-serif;
	    text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
	ul#results p{margin:0;padding:5px 8px 15px}
	ul#results div{background:#FFFFFF}
	li#results div{border:2px solid #D2D2D2}
	
	
</style>

<ul id="results"><li id="results"><h3 class="avlh">Score</h3>
    <div>       <table class="bafatablelarge" width=100% border="0">
    <tr>
    <td width="50%"><%=match.getTeamAName()%> - <b><%=match.getGoalsA()%></font></b></td>
    <td width="50%"><%=match.getTeamBName()%> -  <b><%=match.getGoalsB()%></font></b></td>
    </tr>
    <tr>
    <td class="c2"><span class="nlp"><%for(int u=0;u<match.getScorersA().players().length;u++){%><%=match.getScorersA().players()[u].getName()%>(<%=match.getScorersA().players()[u].getGoals()%>)<br/><%}%></span></td>
    <td class="c2"><span class="nlp"><%for(int u=0;u<match.getScorersB().players().length;u++){%><%=match.getScorersB().players()[u].getName()%>(<%=match.getScorersB().players()[u].getGoals()%>)<br/><%}%></span></td>
    </tr>
    <tr></tr>
    </table> </div>
    </li>
</ul>
<img src="o.gif" height="1px" width="125px"/>
<% if(reports!=null&&JSPUtils.isDisplayed("showmatchreports")){while(reports.hasNext()){Report report = ReportServices.getReport((String)reports.next());%>
<p>
<h4><b><%=report.getTitle()%></b>  by <%=DisplayServices.getTeam(""+report.getTeamId()).getName()%>  </h4>
   
  <%=report.getReport()%>
  <br/>
  <span class="sad"> by <%=report.getAuthor()%></span>
  
 
 </p>
<%}}%>
<hr/>